package com.qinglei.recoup.system.service;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

@Service
@Scope(value = "prototype")
public class DemoService {
    private int i;
    {
        i ++ ;
        System.out.println("demoService"+i);
    }

    public int getI(){
        return  i ;
    }
}
